﻿<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>Admin Console | Bill Message | Edit Reservation Folio | Emm</title>
<%@page import="java.util.*" %>
<%
	String Code = (String)session.getAttribute("LanguageCode");
	String SubCode = (String)session.getAttribute("LanguageSubcode");
    Locale locale = new Locale(Code, SubCode);
	ResourceBundle resource = ResourceBundle.getBundle("resource", locale);
%>
<link href="/css/Adminconsole/Main.css" rel="stylesheet" />
<link href="/css/custom/jquery-ui-1.9.1.custom.min.css" rel="stylesheet" />
<link href="/css/Adminconsole/dialog.css" rel="stylesheet" />
<link href="/css/custom/loading.css" rel="stylesheet" />
<link href="/css/components/blocked/popup/popup.css" rel="stylesheet" />

<script src="/js/jquery-1.8.3.min.js"></script>
<script src="/js/jquery-ui-1.9.1.custom.min.js"></script>
<script src="/js/sharedData.js"></script>
<script src="/js/adminconsole/AdminShareData.js"></script>
<script src="/js/simpleservice.js"></script>
<script src="/js/loading.js"></script>
<script src="/js/pointerDialog.js"></script>
<script src="/js/adminconsole/EditDialog.js"></script>
<script src="/js/adminconsole/RoomsManager/BillMassage/billmassage.js"></script>
<script type="text/javascript" src="/ckeditor/ckeditor.js" ></script>
<jsp:include page="/adminconsole/language.jsp" flush="true" />
</head>
<body>
	<header>
		<div class="brand">
			<div name="hotelName"><h2>iHotel</h2></div>
			<div name="pageName">Admin Console</div>
            	<jsp:include page="/adminconsole/menu.jsp" flush="true" />
		</div>
	</header>
	<div class="main">
		<div class="breadcrumb">
			<% out.print(resource.getString("AdminConsole.Page.BillMessages"));%>
		</div>
        <div class="destitle"><% out.print(resource.getString("AdminConsole.Page.BillMessages.suggest"));%></div>
		<div class="content">
			<table style="width:100%;border:none" cellpadding="5" cellspacing="0" id="tableform" >
	<tbody>
		<tr>
			<td style="text-align:center;font-weight:bold" colspan="2"><span style="text-align:left">
			  <% out.print(resource.getString("AdminConsole.Page.BillMessages.resfolio"));%>
			</span></td>
		</tr>
		<tr>
			<td style="width:22%;text-align:right">&nbsp;</td>
			<td style="width:78%;text-align:left">&nbsp;</td>
		</tr>
		<tr>
			<td style="text-align:right;vertical-align:top"><% out.print(resource.getString("AdminConsole.Page.BillMessages.notice"));%>: </td>
			<td  style="text-align:left">
					<textarea name="txtMessage" id="txtMessage" >เท่ห์ เนี๊ยบ สัมผัสได้&nbsp;&nbsp;&nbsp;&nbsp;</textarea>
			</td>
		</tr>
		<tr>
			<td style="width:22%;text-align:right">
			  <% out.print(resource.getString("AdminConsole.Page.BillMessages.thx"));%>: </td>
			<td style="text-align:left">
					<textarea name="txtMessage1" id="thxmessage" >ขอบพระคุณเป็นอย่างสูง</textarea>
			</td>
		</tr>
        <tr>
			<td style="width:22%;text-align:right">
			  <% out.print(resource.getString("AdminConsole.Page.BillMessages.upload"));%>:
            </td>
			<td style="text-align:left"> <label for="textfield"></label>
		    <input type="file" name="pic" id="pic" size="10" />
		    <% out.print(resource.getString("AdminConsole.Page.BillMessages.size"));%> 200KB
		    </td>
		</tr>
		<tr>
			<td>&nbsp;</td>
			<td><input name="btnSave" id="btnSave" type="button"  value="<% out.print(resource.getString("AdminConsole.Page.center.save"));%>" onClick="saveMessageFolio()">
				<input name="btnPreview" type="button"  onclick="doPreview('2616','O');" value="<% out.print(resource.getString("AdminConsole.Page.center.preview"));%>">
				<input name="btnCancel" type="button"  onclick="doBack(this.form);" value="<% out.print(resource.getString("AdminConsole.Page.center.cancel"));%>">
			</td>
		</tr>
	</tbody>
</table>
<p>&nbsp; </p>
<p>&nbsp; </p>
<script type="text/javascript">
        //<![CDATA[
            CKEDITOR.replace( 'txtMessage',{
				height   : 100,
				width    : 750,
              skin   : 'kama',
			  toolbar :
        [
            ['Cut','Copy','Paste','PasteText','PasteFromWord','-','Print', 'SpellChecker', 'Scayt'],
            ['Undo','Redo','-','Find','Replace','SelectAll','RemoveFormat'],
            ['Bold','Italic','Underline','Strike'],
            ['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
            ['Styles','Format','Font','FontSize'],
            ['TextColor','BGColor']
        ],
            } );
			CKEDITOR.replace( 'thxmessage',{
				height   : 100,
				width    : 750,
              skin   : 'kama',
			  toolbar :
        [
            ['Cut','Copy','Paste','PasteText','PasteFromWord','-','Print', 'SpellChecker', 'Scayt'],
            ['Undo','Redo','-','Find','Replace','SelectAll','RemoveFormat'],
            ['Bold','Italic','Underline','Strike'],
            ['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
            ['Styles','Format','Font','FontSize'],
            ['TextColor','BGColor']
        ],
            } );
        //]]>
    </script>
<script>
$(function(){
		EditMessageFolio();
	});
</script>
		</div>
	</div>

	<div id="BlankDialog" style="display:none; padding:5px 0 0 10px;"></div>
	<div id="loadingScreen"></div>
	<div name="dynamic" style="display:none"></div>
</body>

</html>